.titlecss {
  color: #f60;
  padding-top: 16px;
  border-bottom: 6px solid #f60;
}

.on {
  background: #f60 !important;
  color: #fff;
}

.show {
  display: none;
}

.flexbetween {
  display: flex;
  justify-content: space-between;
}

/* 商品分类 */
#goodsCategory {
  position: relative;
  color: #fff;

  a {
    color: #fff;
  }

  a:hover {
    color: #007bff;
    text-decoration: none;
  }

  .goods-category-content {
    width: 200px;
    height: 460px;
    background: rgba(105, 101, 101, .6);
    position: relative;
    z-index: 999;

    // 渲染商品内容的样式
    .content {

      // 分类商品标题
      li {
        line-height: 40px;

        p {
          width: 199px;
          border: 1px solid transparent;
        }

        span {
          display: inline-block transparent;
          width: 10px;
        }

        // 分类商品简介
        dl {
          display: none;
          width: 1000px;
          height: 460px;
          display: none;
          box-sizing: border-box;
          border: 1px solid #f60;
          position: absolute;
          top: 0;
          left: 200px;
          padding: 10px;

          dt {
            border-bottom: 1px solid #ccc;
            color: #333;
          }
        }
      }

      // li中的p加hover
      li:hover {
        p {
          position: relative;
          background: #fff;
          border: 1px solid #f60;
          border-right: 1px solid transparent;
          z-index: 99999;
        }

        >dl {
          display: inline-block;
          background: #fff;
        }

        a {
          color: #4d4d4d;
        }
      }

      a {
        margin-left: 6px;
      }
    }
  }

  // 轮播图
  .goods-category-banner {
    position: absolute;
    top: 0;
  }

  // 页码
  .pagination {
    position: absolute !important;
    right: 0px !important;
    bottom: -6px !important;
    left: 1116px !important;

    li {
      width: 6px !important;
      height: 6px !important;
      position: absolute;
      border: 2px solid #fff !important;
      border-color: hsla(0, 0%, 100%, .3) !important;
      border-radius: 10px !important;
      overflow: hidden;
      background: rgba(0, 0, 0, .4);
      opacity: 1;
    }
  }

}

/* 乐购·今日推荐 */
#dailyRecommendation {
  table {
    width: 1200px;
    border-collapse: collapse;
    text-align: center;
    display: flex;
    flex-flow: row wrap;

    tr {
      width: 20%;
      box-sizing: border-box;
    }
  }

  .recommend-commodity {
    border: 2px solid #f60;
  }

  .recommend-time-limit {
    width: 60px;
    height: 25px;
    position: relative;
    text-align: center;
    background-color: #f4290d;
    color: #fff;

    .triangle {
      display: inline-block;
      width: 0;
      height: 0;
      border-top: 12.5px solid #f4290d;
      border-right: 12.5px solid #fff;
      border-bottom: 12.5px solid #f4290d;
      border-left: 12.5px solid #f4290d;
      position: absolute;
    }
  }

  img {
    margin: 5px 44px 0;
  }

  .recommend-message {
    color: #333333;
  }

  .recommend-guarantee,
  .recommend-price {
    color: #f4290d;
  }

  .recommend-guarantee,
  .recommend-price,
  .recommend-message {
    margin: 0 5px;
  }

  .recommend-price {
    font-size: 24px;
  }
}

/* 图书 电子书 */
.books {
  display: flex;
  justify-content: space-between;

  .books-classify {
    width: 900px;
  }

  .books-title,
  .books-rigth {
    display: flex;
    justify-content: space-between;
  }

  .books-title {
    height: 37px;
    line-height: 37px;
    margin-top: 22px;
  }

  .books-rigth {
    div {
      text-align: center;
      width: 98px;
    }
  }

  .books-details {
    display: flex;
    justify-content: space-between;
  }

  .details-left {
    width: 242px;
    background-color: #f9f9f9;

    img {
      width: 100%;
    }

    ul {
      display: flex;
      flex-flow: row wrap;
      font-size: 14px;

      li {
        width: 70px;
        height: 40px;
        text-align: center;
      }

      :nth-child(3n-2) {
        margin-left: 2px;
      }
    }
  }

  .details-right {
    flex: 1;

    table {
      display: flex;
      justify-content: space-between;
      border-collapse: collapse;

      tr {
        width: 100%;
        width: 168px !important;
        height: 187px;
        background-color: #fff;
        border: solid 2px #cccccc;

        td {
          border: solid 1px #cccccc;
        }
      }

      .books-img {
        padding: 5px;
      }
    }
  }

  // 新书
  .new-book {
    width: 280px;
    margin-top: 80px;
    border: solid 2px #e5e5e5;
    color: #808080;

    h2 {
      text-align: center;
      margin-top: 5px;
    }

    .books-synopsis {
      line-height: 30px;
      justify-content: space-between;
      border-collapse: collapse;
      padding: 0 18px;
      position: relative;

      p {
        padding-left: 5px;
        border-bottom: 1px solid #ccc;
      }

      .books-quantity {
        position: absolute;
        top: 4px;
        left: 6px;
        color: red;
      }

      span {
        display: inline-block;
        width: 126px;
        vertical-align: top;
        font-size: 14px;
      }

      .show {
        line-height: 20px;
        z-index: 999;
      }
    }

    .content2 {
      :first-child {
        .show {
          display: block;
        }

      }

      :last-child {
        p {
          border: 0;
        }
      }
    }
  }

  // 电子书,最新上架和独家畅销
  .content1 {
    table {
      display: none;
    }

    >:nth-child(1) {
      display: block;
    }
  }
}

/* 重复的 */
.repetitio {
  .repetitio-title {
    display: flex;
    justify-content: space-between;

    h2 {
      color: black;
    }
  }

  .title-rigth {
    display: flex;
    justify-content: space-between;

    div {
      text-align: center;
      width: 98px;
    }
  }

  .left {
    width: 221px;
    background-color: #f9f9f9;

    ul {
      display: flex;
      flex-flow: row wrap;
      font-size: 14px;

      li {
        width: 70px;
        height: 40px;
        text-align: center;
      }

      >:nth-child(3n-2) {
        margin-left: 2px;
      }
    }

    img {
      width: 100%;
      height: 340px;
    }
  }

  .repetitio-main {
    display: flex;
    justify-content: space-between;
  }

  .repetitio-main-middle {
    width: 430px;
    height: 506px;

    img {
      width: 100%;
      height: 166px;
    }
  }

  .repetitio-main-right {
    flex: 1;

    div {
      display: none;
      position: relative;
    }

    span {
      position: absolute;
      color: red;
      font-size: 25px;
    }

    .on {
      display: block;
    }

    img {
      border: 1px solid #ccc;
      width: 181px;
      height: 504px;
    }
  }

}

// 家居日用
#Household {
  height: 510px;

  .household-main {
    div {
      border: 1px solid #ccc;
    }
  }

  .household-img {
    width: 487px;
    height: 444px;
  }

  table {
    border-collapse: collapse;

    td {
      border: 1px solid #ccc;
    }
  }
}

/* 推广商品 */
#promotionOfGoods {
  .promotion-content {
    li {
      flex: 0.25;
      margin-left: 26px;
      padding: 0 32px;
      color: #333333;
    }

    li:hover {
      background: #f2f2f2;
    }

    img {
      margin-top: 20px;
    }
  }

  .promotion-price,
  .promotion-evaluate span {
    color: #f4290d;
  }

  .promotion-price {
    font-size: 24px;
  }

  .iconfont {
    margin-right: 3px;
    color: #ccc !important;
  }

  .title {
    p {
      width: 12px;
      height: 12px;
      background: #bfbfbf;
      margin: 8px 7px 0 0;
      border-radius: 50%;
    }
  }
}

/* 楼层跳转 */
.floor {
  position: fixed;
  width: 40px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-left: -650px;
  background-color: #f2f2f2;

  li {
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-indent: 40px;
    color: #fff;
    overflow: hidden;
    background: url('../img/floor.png') no-repeat;
  }

  ul {
    >:nth-child(1) {
      background-position-y: 0;
    }

    :nth-child(2) {
      background-position-y: -80px;
    }

    :nth-child(3) {
      background-position-y: -160px;
    }

    :nth-child(4) {
      background-position-y: -200px;
    }

    :nth-child(5) {
      background-position-y: -320px;
    }
  }

  .tophead {
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    background-color: #f2f2f2;
  }
}

.fix-top {
  width: 100%;
  height: 50px;
  background: #fff;
  border-bottom: 2px solid #f60;
  position: fixed;
  top: 0;
  display: none;

  input {
    margin: 0 auto;
  }
}

/* 轮播图 */
#bannerInner2 {

  .btnleft,
  .btnright {
    top: 85px !important;

  }

  .pagination {
    bottom: 10px !important;
  }
}

#footer {
  margin-top: 60px;
}